public class Main {

      public static void main(String[] args)
        {
                List list = new List();
                list.Append(new Integer(3));
                list.Append(new Integer(7));
                list.Append(new Integer(6));
                list.Append(new Integer(9));
                list.Append(new String("Sir"));
                System.out.println("Lista: ");
                Iterator iterator = list.CreateIterator();
                for(iterator.First();iterator.IsDone();iterator.Next())
                	{
                        System.out.println(iterator.CurrentItem());
                	}
        }
}